package featuremodel.constraint;

import featuremodel.FeatureModelDef;
import featuremodel.method.MRequireMethodBind;
import featuremodel.method.MRequireMethodUnbind;
import skyblue.Constraint;
import skyblue.Strength;
import skyblue.Variable;

public class MRequireConstraint extends Constraint{

	public MRequireConstraint(Variable a, Variable b, Strength strength) {
		super(strength);
		
		this.constraintType = FeatureModelDef.MREQUIRE_CONSTRAINT;
		getVariables().add(a);
		getVariables().add(b);
		
		getMethods().add(new MRequireMethodBind(a,b));
		getMethods().add(new MRequireMethodUnbind(a,b));
		
		
	
		
	}

}
